<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="Public/Home/cs/list.css" />
<title>无标题文档</title>
</head>
<style type="text/css">
	.hover{
		background: red;
	}
</style>

<body>
<!-- vanclHead start -->
<div class="vanclHead">
  <div class="headerTopAreaBox">
     <div class="headerTopArea">
       <div class="headerTop">
        <div class="headerTopLeft">
          <div class="top loginArea"> 
          	您好, 
          	<?php if(isset($_SESSION['uemail'])){?>
                
          	 <span><a href=""><?php echo $_SESSION['uemail']?></a></span>
          	 <a href="<?php echo U('Index/out')?>">退出</a>
          	 <?php }else{?>
          	 <span class="top">欢迎光临凡客诚品！</span>
          	 <span><a href="<?php echo U('Login/index')?>">登录</a>| <a href="<?php echo U('Registered/index')?>">注册</a>
          	 </span>
       	 	
               <?php }?> 
          
          </div>
          <div class="recommendArea"> <a href="">我的订单</a> <a href="">收藏本站</a> </div>
        </div>
        <ul class="headerTopRight">
          <li class="drop">
            <a class="mapDropTitle" href="">我的凡客</a>
            <div class="mapDropListBox">
              <ul class="mapDropList">
                <li><a href="">我的订单</a></li>
                <li><a href="">我的收藏</a></li>
              </ul>
            </div>
          </li>
          <li class="drop">
            <a class="mapDropTitle" href="">网站导航</a>
             <div class="mapDropListBox">
                <ul class="mapDropList">
                  <li><a href="">网站联盟</a></li>
                </ul>
                <div class="myVanclDropListBj"></div>
            </div>
          </li>
          <li class="drop">
            <a class="mapDropTitle" href="">帮助中心</a>
            <div class="mapDropListBox">
              <ul class="mapDropList">
                <li><a href="">购物指南</a></li>
                <li><a href="">配送方式</a></li>
                <li><a href="">支付方式</a></li>
                <li><a href="">售后服务</a></li>
                <li><a href="">投诉建议</a></li>
                <li><a href="">在线客服</a></li>
               </ul>
               <div class="myVanclDropListBj"></div>
             </div>
          </li>
          <li class="drop">
            <a class="mapDropTitle" href="">网站公告</a>
            <div class="mapDropListBox">
              <ul class="mapDropList">
                <li><a href="">网站公告</a></li>
                <li><a href="">重要提示</a></li>
                <li><a href="">支付通知</a></li>
                <li><a href="">会员公告</a></li>
              </ul>
              <div class="myVanclDropListBj"></div>
            </div>
          </li>
          <li class="vanclPhone">
            <a href="">手机凡客</a>
          </li>
          <li class="vanclService">
            <a href="">在线客服</a>
          </li>
          <li class="payattention">
            <a class="vweixinbox" href="">&nbsp;</a>
            <a class="vanclweibo" href="">&nbsp;</a>
          </li>
        </ul>
      </div>
    </div>
  </div>
</div>
<!-- vanclHead end -->
<!-- logoArea start -->
<div id="logoArea" class="vanclLogoSearch">
  <div class="vanclLogo fl">
    <h1><a class="track" href=""></a></h1>
  </div>
  <div class="vanclSearch fr">
    <div class="searchTab">
      <div class="search">
      	<from>
        <input type="text" id="skey" class="searchText ac_input textBox Enter fl" value="搜“衬衫”，体验与众不同">
        <input type="button" id="btnHeaderSearch" class="searchBtn sousuoBtn btn">
        </from>
      </div>
      <div id="shoppingCarNone">
         <p>
        <a id="shoppingcar_link" class="cartab" href="<?php echo U('Shoppingcar/index')?>">
        购物车(<span>0</span>)
        </a>
        </p>
        <div class="bottomlines"></div>
        <div class="BuycarTab">
          <div class="shopnopru">
             <div class="SCtotalpageno">您的购物车中没有任何商品</div>
             <div class="SCtotalpageBottom"></div>
          </div>  
        </div>  
      </div>
    </div>
    <div class="hotWord">
      <p> 热门搜索： <a class="track selectedtips" href="" target="_blank">nautilus</a> <a class="track" href="" target="_blank">衬衫</a> <a class="track" href="" target="_blank">店庆</a> <a class="track" href="" target="_blank">羽绒服</a> <a class="track" href="" target="_blank">卫衣</a> <a class="track" href="" target="_blank">西服</a> <a class="track" href="" target="_blank">休闲裤</a> <a class="track" href="" target="_blank">牛仔</a></p>
    </div>
  </div>

</div>
<!-- logoArea end -->
 <div class="vanclNavHead">
	<div class="vanclNavBox">
		<div class="allProduct">
			<span class="subnavCon">全部商品分类<em></em></span>
			<div class="categoryList">
      <?php foreach ($topCate as $v){?>
      <?php if($v['pid']==0){?>
                
				<dl>
					<h3><a href="<?php echo U('List/index',array('cid'=>$v['cid']))?>"><?php echo $v['cname']?></a></h3>
          <?php foreach ($topCate as $vv){?>
          <?php if($vv['pid']==$v['cid']){?>
                
					<dt><a href="<?php echo U('List/index',array('cid'=>$vv['cid']))?>"><?php echo $vv['cname']?></a></dt>
					<dd>
            <?php foreach ($topCate as $vvv){?>
            <?php if($vvv['pid']==$vv['cid']){?>
                 
						<a  href="<?php echo U('List/index',array('cid'=>$vvv['cid']))?>"><?php echo $vvv['cname']?></a>
						
               <?php }?>
            <?php }?>
					</dd>	
					
               <?php }?>
          <?php }?>
				</dl>
       
               <?php }?>
      <?php }?>
				
			</div>
		</div>
    <div class="vanclNavList"> 
     
      <ul>
      	<?php foreach ($topCate as $v){?>
    		<?php if($v['pid']==0){?>
                
      			<?php foreach ($topCate as $vv){?>
	  				<?php if($vv['pid']==$v['cid']){?>
                
	        	<li>
	          	<a class="list_tab" href="<?php echo U('List/index',array('cid'=>$vv['cid']))?>" ><?php echo $vv['cname']?></a>
	        	</li>
	        	
               <?php }?>
        		<?php }?>
	      
               <?php }?>
    		<?php }?>
      </ul>
     
	</div>
 </div>
 <!--内容部分开始-->
 <div class="selectareali">
 	<div class="left">
 		<span>当前位置:</span>
 		<a href="<?php echo U('Index/index')?>">首页</a>>
 		<?php foreach ($pids as $v){?>
 		<a href="<?php echo U('List/index',array('cid'=>$v['cid']))?>"><?php echo $v['cname']?></a>
 		>
 		<?php }?>
 	</div>
 	<div class="tsmsg">
 		找到<span style="color:red;"><?php echo $cateName?></span>相关商品
 		<span style="color:red;"><?php echo $total?></span>
 		款
 	</div>
 </div>
 <!--按颜色筛选-->
 	<div class="colorBox">
 		<div class="word">
 			<?php foreach ($goodsAttr as $k=>$v){?>
 			<dl>
 				<?php 
						$temp = $param;
						$temp[$k] = 0;
					?>
				<dt><span><?php echo $v['name']?></span></dt>
 				<dt><span><a href="<?php echo U('List/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp)))?>" <?php if($param[$k]==0){?>
                class="hover"
               <?php }?>>不限</a></span></dt>
 				 					
 				<?php foreach ($v['value'] as $value){?>
 				<dd>
 					<?php 
						$temp[$k] = $value['gaid'];
					?>
 					<a href="<?php echo U('List/index',array('cid'=>$_GET['cid'],'param'=>implode('_',$temp)))?>" <?php if($param[$k]==$value['gaid']){?>
                class="hover"
               <?php }?>><?php echo $value['gtvalue']?></a>
 				</dd>
 				<?php }?>
 			</dl>
 			<?php }?>
 		</div>
 		<div class="color">
 			<span>颜色：</span>
 			<ul>
 				<li><a class="quan" href=""></a></li>
 				<li><a class="color" href=""></a></li>
 				<li><a class="color a" href=""></a></li>
 				<li><a class="color b" href=""></a></li>
 				<li><a class="color c" href=""></a></li>
 			  <li><a class="color d" href=""></a></li>
 			  <li><a class="color e" href=""></a></li>
 			  <li><a class="color f" href=""></a></li>
 			  <li><a class="color g" href=""></a></li>
 			  <li><a class="color h" href=""></a></li>
 			  <li><a class="color j" href=""></a></li>
 			  <li><a class="color k" href=""></a></li>
 			</ul>
 		</div>
 	</div>
<!--全部商品-->
<div class="allbox">
	 <div class="filterTabBar">
	 		<div class="filBox">
	 			<span>全部商品</span>
	 		</div>
	 		<div class="left"></div>
	 </div>
	 <div class="pingjia">
	 	<div class="left">
	 		<ul>
	 			<li>
	 				<a href="">默认<span></span></a>	
	 			</li>
	 			<li>
	 				<a href="">销量<span></span></a>	
	 			</li>
	 			<li>
	 				<a href="">好评<span></span></a>	
	 			</li>
	 			<li>
	 				<a href="">最新<span class="shang"></span></a>	
	 			</li>
	 			<li>
	 				<a href="">价格<span class="shang"></span></a>	
	 			</li>
	 		</ul>
	 	</div>
	 </div>
</div>
<div class="allContent">
	<?php foreach ($goodsCate as $v){?>
	<ul>
		<li>
			<a class="imgBox" href="<?php echo U('Content/index',array('gid'=>$v['gid']))?>"><img src="<?php echo $v['pic']?>"/></a>
			<a href="<?php echo U('Content/index',array('gid'=>$v['gid']))?>"><?php echo $v['gname']?> </a>
			<span>售价￥<?php echo $v['shopprice']?></span>
		</li>
	</ul>
<?php }?>
</div>
<div class="clear"></div>
 <!--内容部分结束-->
 <!-- footerArea start -->
<div id="footerArea" class="vanclFootBOX">
  <div class="vanclFoot">
    <ul>
      <li>
        <h2>关于凡客</h2>
        <p><a href="">公司简介</a></p>
        <p><a href="">联系我们</a></p>
        <p><a href="">友情链接</a></p>
      </li>
      <li>
        <h2>新手指南</h2>
        <p><a href="">账户注册</a></p>
        <p><a href="">购物流程</a></p>
        <p><a href="">网站地图</a></p>
        <p><a href="">商家入驻</a></p>
      </li>
      <li>
        <h2>配送范围及时间</h2>
        <p><a href="">国内配送</a></p>
        <p><a href="">订单拆分</a></p>
      </li>
      <li>
        <h2>支付方式</h2>
        <p><a href="">货到付款</a></p>
        <p><a href="">在线支付</a></p>
        <p><a href="">礼品卡及账户余额</a></p>
        <p><a href="">其他支付方式</a></p>
      </li>
      <li>
        <h2>售后服务</h2>
        <p><a href="">退换货政策</a></p>
        <p><a href="">退换货办理流程</a></p>
        <p><a href="">退换货网上办理</a></p>
        <p><a href="">退款说明</a></p>
        <p><a href="">调查问卷</a></p>
      </li>
      <li class="footline">
        <h2>帮助中心</h2>
        <p><a href="">在线客服</a></p>
        <p><a href="">找回密码</a></p>
        <p><a href="">隐私申明</a></p>
      </li>
    </ul>
  </div>
  <div class="footIcon">
    <ul>
      <li class="returnProduct"><a href="" target="_blank" rel="nofollow"><img src="Public/Home/images/foot_img/vanclsprite_1.png"></a></li>
      <li class="buyProduct"><a href="" target="_blank" rel="nofollow"><img src="Public/Home/images/foot_img/vanclsprite_2.png" alt=""></a></li>
      <li class="payMoney"><a href="" target="_blank" rel="nofollow"><img src="Public/Home/images/foot_img/vanclsprite_3.png" alt=""></a></li>
      <li class="cusService"><a href="" target="_blank" rel="nofollow"><img src="Public/Home/images/foot_img/vanclsprite_4.png" alt=""></a></li>
    </ul>
  </div>
  <div class="footBottom">
    <div class="footBottomTab">
      <p>Copyright 2007 - 2014 vancl.com All Rights Reserved 京ICP证100557号 京公网安备11011502002400号 出版物经营许可证新出发京批字第直110138号</p>
    </div>
  </div>
  <div class="blank20"></div>
  <div class="subFooter"> <a href="" target="_blank" rel="nofollow"><img src="Public/Home/images/foot_img/fs1.png" alt=""></a> <a href="" target="_blank" rel="nofollow"><img src="Public/Home/images/foot_img/fs2.png" alt=""></a> <a href="" target="_blank" rel="nofollow"><img src="Public/Home/images/foot_img/fs3.png" alt=""></a> <a href="" target="_blank" rel="nofollow"><img src="Public/Home/images/foot_img/fs4.png" alt=""></a> <a href="" target="_blank" rel="nofollow"><img src="Public/Home/images/foot_img/fs5.png" alt=""></a> <a href="" target="_blank" rel="nofollow"><img src="Public/Home/images/foot_img/kexin_brand_for_others.png" alt="" style="width:120px;height:39px;"></a> </div>
</div>
<!-- footerArea end --> 
</body>
</html>
